package com.currency.admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.currency.admin.mapper.SysUserMapper;
import com.currency.admin.pojo.dto.UserAuthDTO;
import com.currency.admin.pojo.entity.SysUser;
import com.currency.admin.service.ISysUserService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户信息表 服务实现类
 * </p>
 *
 * @author Lan
 * @since 2021-12-10
 */
@Service
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> implements ISysUserService {

    @Override
    public UserAuthDTO getByUsername(String username) {
        return this.baseMapper.getByUsername(username);
    }
}
